package com.qingpeng.pay.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.qingpeng.pay.R;
import com.qingpeng.pay.beans.MessageBean;

public class MessageAdapter extends BaseQuickAdapter<MessageBean.DataProductBean.MessageinfoProductBean, BaseViewHolder> {
    public MessageAdapter(int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, MessageBean.DataProductBean.MessageinfoProductBean item) {
        helper.setText(R.id.text_message,item.getContent());
    }
}
